package com.csproj.basic.service.mapper;

import com.csproj.basic.domain.ElectronicLock;
import com.csproj.basic.service.dto.ElectronicLockDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity ElectronicLock and its DTO ElectronicLockDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface ElectronicLockMapper extends EntityMapper<ElectronicLockDTO, ElectronicLock> {

    

    

    default ElectronicLock fromId(String id) {
        if (id == null) {
            return null;
        }
        ElectronicLock electronicLock = new ElectronicLock();
        electronicLock.setId(id);
        return electronicLock;
    }
}
